Add a corner case for when the extended key is clicked in order to stop the keyboard
from prematurely closing.
https://bugzilla.gnome.org/show_bug.cgi?id=661707
_onKeyFocusChanged: function () {
let focus = global.stage.key_focus;
- // Showing an extended key popup will grab focus, but ignore that
- if (focus && focus._extended_keys)
+ // Showing an extended key popup and clicking a key from the extended keys
+ // will grab focus, but ignore that
+ if (focus && (focus._extended_keys || (focus._key && focus._key.extended_key)))
return;
if (focus instanceof Clutter.Text)